<{include file="../templates/admin/header.html"}>
<div class="list-div">
  <div style="background:#FFF; padding: 20px 50px; margin: 2px;">
    <table align="center" width="400">
      <tr>
        <td width="50" valign="top">
          <img src="images/information.gif" width="32" height="32" border="0" alt="information" />
        </td>
        <td style="font-size: 14px; font-weight: bold"><{$desc}></td>
      </tr>
      <tr>
        <td></td>
        <td id="redirectionMsg">
         如果您不做出选择,将在 <span id="spanSeconds">3</span> 秒后跳转到第一个链接地址。
        </td>
      </tr>
      <tr>
        <td></td>
        <td>
          <ul style="margin:0; padding:0 10px" class="msg-link">
            <li><a href="<{$url}>"><{$link}></a></li>
          </ul>
        </td>
      </tr>
    </table>
  </div>
</div>

<script language="JavaScript">
var seconds = 3;
var defaultUrl = "<{$url}>";
<{literal}>
window.onload = function()
{
  window.setInterval(redirection, 1000);
}
function redirection()
{
  if (seconds <= 0)
  {
    window.clearInterval();
    return;
  }

  seconds --;
  document.getElementById('spanSeconds').innerHTML = seconds;
  if (seconds == 0)
  {
    window.clearInterval();
    location.href = defaultUrl;
  }
}
//-->
</script>
<{/literal}>
